package com.ds.mapper;

import com.ds.entity.Student;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 学生mapper
 */
@Mapper
public interface StudentMapper {

    @Select("select id,student_code studentCode,student_name studentName from t_student")
    List<Student> selectAll();

    void insertStudent(Student student);
}
